import QtQuick 2.0
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4

Button {
    id:button

    style:ButtonStyle{
        background: Rectangle {
            implicitWidth: 70
            implicitHeight: 25
            color: "#3d5868"
            border.width: control.pressed ? 1:0
            border.color: (control.hovered || control.pressed) ? "red" : "green"
            radius:5
        }
        label:Rectangle{
            color:"transparent"
            Text{
                color: "white"
                text: button.text
            }
        }
    }
    height: 20
    text:"全部"
}
